
package com.kweative.lingua.server.structures;

/**
 *
 * @author henrik
 */
public class FileWrapper extends Object {
    private String mimeType = "text/plain";
    private byte[] contents = null;
    private String encoding = null;
    private boolean binary = false;

    public boolean isBinary() {
        return binary;
    }

    public void setBinary(boolean binary) {
        this.binary = binary;
    }

    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public byte[] getContents() {
        return contents;
    }

    public void setContents(byte[] contents) {
        this.contents = contents;
    }
}
